﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DanmaiDuoduoCtrol : BaseTrackHolder
{





    protected override void OnPlay()
    {
        base.OnPlay();

        switch (clipInfo.eventID)
        {
            case "30005_setduoduoparent":

                Transform timeline = FTimelineDispatch.GetTimelineTransform(TimelineID);

                if (timeline != null)
                {
                    Transform parent = timeline.Find("Jiqiren");
                    if (parent != null)
                    {
                        transform.SetParent(parent.FindChildEx("mount"));
                        transform.ResetTransformForLocal();
                        Debug.LogError("1111");
                    }
                }
                break;
        }


    }



}
